import { TI18nKeys } from './types';

const resource: Record<TI18nKeys, string> = {
  'app-download': 'Download',
  'app-error_page_error': 'Internal Server Error',
  'app-error_refresh': 'Refresh',
  'app-feedback': 'Feedback',
  'app-mode_enhance': 'Enhance Mode',
  'app-mode_simple': 'Simple Mode',
  'app-settings': 'Settings',
  'app-support_game': 'Support Game',
  'app-title': 'Replay Master WebSite',
  'btn-generate': 'Generate Now!',
  'current-language': 'English',
  'error-beatmap_invalid': 'Beatmap file format is not correct! Please check your beatmap file.' ,
  'error-beatmap_not_found': 'No matching beatmap was found in the uploaded beatmap set. You can manually upload the specified beatmap file.  ',
  'error-convert_not_support': 'The selected convert mode is not supported.',
  'error-duration_too_long': 'The website does not support the map longer than 30 min !',
  'error-error': 'Internal Server Error: {{message}}. Please inform us of this situation.',
  'error-mode_not_support': 'The selected mode is not supported.',
  'error-render_failed': 'Video file generation failed! Please inform us of this situation.',
  'error-replay_invalid':  'Incorrect replay file format! Please check your replay file.',
  'error-time_exceeded': 'The connection to the server timed out. Please try again.',
  'main-drag_upload_text': 'Click or drag file to this area to upload',
  'main-help_modal_text': 'How to export beatmap/replay',
  'main-upload_bgm': 'Click or drag file to this area to upload your bgm',
  'main-help_modal_replay_text': 'How to export replay',
  'main-help_modal_map_text': 'How to export beatmap',
  'main-upload_bgm_hint': 'Support all file types which osu and malody supported',
  'main-upload_map': 'Click or drag file to this area to upload your maps',
  'main-upload_map_help_malody': 'Malody: Edit → Edit this chart → Menu → More → Export chart package',
  'main-upload_map_help_osu': 'osu!: Edit → File → Open Song Folder → upload the osu file and the music file of the corresponding version',
  'main-upload_map_hint': 'Support .osz, .osu, .mcz, .mc and .zip files',
  'main-upload_replay_help_malody': 'Malody: Press "Export" in the results screen',
  'main-upload_replay_help_osu': 'osu!: Press F2 in the results screen',
  'main-upload_replay_placeholder': 'Click or drag file to this area to upload your replays',
  'main-upload_replay_placeholder_hint': 'Support .osr and .mr files',
  'modal-close_text': 'Close',
  'modal-error_file_size_over_max': 'File size can not over 100MB',
  'modal-error_title': 'Error!',
  'modal-feedback_btn_text': 'Feedback',
  'modal-finished_title': 'Finished',
  'modal-generate_close_confirm_cancel_text': 'Cancel',
  'modal-generate_close_confirm_content': 'Close the dialog then the generating replay video progress will be abort, are you sure to close the dialog?',
  'modal-generate_close_confirm_ok_text': 'I confirm',
  'modal-generate_close_confirm_title': 'Are you sure to close?',
  'modal-generating_title': 'Generating...',
  'modal-ok_text': 'OK!',
  'settings-video_max_ratio_error': 'The value of width * height can not overflow {{val}}',
  'settings-max_drop_speed_error': 'The value of Fps * Speed can not overflow {{val}}!',
  'settings-fps': 'FPS',
  'settings-platform': 'Malody Platform',
  'settings-speed': 'Speed',
  'settings-video_height': 'Video Height',
  'settings-video_width': 'Video Width',
  'status-current_audio_name_label': 'Audio file',
  'status-current_file_name_label': 'Replay file',
  'status-current_in_queue': 'Current in Queue',
  'status-current_map_name_label': 'Map file',
  'status-current_settings': 'Current Settings',
  'status-current_status': 'Current status',
  'status-current_warning_audio_not_match': 'The audio file maybe is not match the map file',
  'status-current_warning_label': 'Warning',
  'status-current_warning_replay_not_match': 'The replay file maybe is not match the map file',
  'status-download_button': 'Download!',
  'status-generate_generating_introduction': 'Generating...   Please do not close or refresh the dialog and page.',
  'status-generate_progress_label': 'Generate Progress',
  'status-generate_status_error': 'Error!',
  'status-generate_status_finish': 'Finished',
  'status-generate_status_processing': 'Processing',
  'status-generate_status_queue': 'In Queue',
  'status-generate_status_unknown': 'Waiting',
  'status-generate_success': 'Generate Success, click button to download.',
};

export const en = {
  translation: resource,
};
